package com.iteaj.iot.client;

import com.iteaj.network.client.ClientComponent;
import com.iteaj.iot.client.SocketClient;
import com.iteaj.network.config.ConnectProperties;
import io.netty.channel.Channel;
import io.netty.channel.socket.nio.NioSocketChannel;

/**
 * create time: 2021/8/6
 *
 * @author iteaj
 * @since 1.0
 */
public abstract class TcpSocketClient extends SocketClient {

    public TcpSocketClient(ClientComponent clientComponent, ConnectProperties config) {
        super(clientComponent, config);
    }

    protected Class<? extends Channel> channel() {
        return NioSocketChannel.class;
    }
}
